home *** CD-ROM | disk | FTP | other *** search
- property sp, boxHieght, limitRect
-
- on new me, asp, aPos
- me.sp = asp + 1
- puppetSprite(me.sp, 1)
- boxHieght = the bottom of sprite me.sp - the top of sprite me.sp
- tempH = aPos.locH - the width of sprite asp + 6
- tempV = aPos.locV - (boxHieght / 2) + 6
- set the loc of sprite the sp of me to point(tempH, tempV)
- updateStage()
- me.limitRect = the rect of sprite me.sp
- return me
- end
-